/**
 * 
 */
package info;

/**
 * @author vtkhanh
 * 
 */
public class University {
    protected boolean[] mTimeslot;

    public boolean isFreeAtTimeslot(int timeslot) {
	return mTimeslot[timeslot];
    }

    public void fillTimeslot(int timeslot) {
	mTimeslot[timeslot] = false;
    }

    public void freeTimeslot(int timeslot) {
	mTimeslot[timeslot] = true;
    }

    public void setTimeslot(boolean[] timeslot) {
	mTimeslot = timeslot;
    }
    
    public boolean[] getTimeslot() {
	return mTimeslot;
    }
}
